Ext.define('ProjectAON.store.ControleScore', {
    extend: 'Ext.data.Store',
    model: 'ProjectAON.model.ControleScore',
    autoLoad: true,
    autoSync: false,

    proxy: {
        type: 'ajax',
        api: {
            read: 'data/csselect.php',
            destroy: 'data/csdelete.php'
        },
        reader: {
            type: 'json',
            root: 'users',
            successProperty: 'success'
        }
    }
});